//
//  QZHomeController.m
//  QZ浪里个浪
//
//  Created by 秦－政 on 2016/10/24.
//  Copyright © 2016年 pete. All rights reserved.
//

#import "QZHomeController.h"
#import "UIBarButtonItem+QZAddition.h"
@interface QZHomeController ()

@end

@implementation QZHomeController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}

#pragma mark - 搭建界面
- (void)setupUI
{
    [self setupNav];
}
-(void)leftClick
{
    NSLog(@"扫一扫");
}
-(void)rightClick
{
    NSLog(@"添加联系人");
}
- (void)setupNav
{
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem QZ_setHighlightedImgName:@"navigationbar_pop" title:nil target:self action:@selector(leftClick)];
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem QZ_setHighlightedImgName:@"navigationbar_friendsearch" title:nil target:self action:@selector(rightClick)];
    
}
@end
